How to keep DOMDocument from saving < as <?

SimpleXML and php5's DOM module use the same internal representation of the document (facilitated by libxml ). You can switch between both apis without having to re-parse the document via simplexml_import_dom() and dom_import_simplexml() . I.e.

If you really want/have to perform the iteration with the SimpleXML api once you've found your element you can switch to the DOM api and create the CData section within the same document.

The problem is that you're likely adding that as a string, instead of as an element.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions